package deployr.core;


public class Count {
	
	private int i = 0;

	public Count(int i) {
		this.i = i;
	}

	public Count() {
		this(0);
	}

	public void increment(boolean t) {
		if (t)
			i++;
	}

	public int intValue() {
		return i;
	}

	public Count sum(Count other) {
		return new Count(i + other.i);
	}

}
